package com.ztgf.shopping.models.dto.shop;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

import com.ztgf.common.dto.BaseDTO;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 店铺资质审核表DTO
 *
 * @author zhanghualang
 * @Date 2020-06-23 11:58:06
 */
@Data
@TableName("shop_qualification_audit")
@ApiModel(value="店铺资质审核表对象", description="店铺资质审核表对象")
public class ShopQualificationAuditDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人 系统用户id")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "店铺审核表ID")
    private Long shopAuditId;
    @ApiModelProperty(value = "品牌id")
    private Long brandId;
    @ApiModelProperty(value = "文件地址 多个以逗号隔开")
    private String fileUrl;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginDate;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
    @ApiModelProperty(value = "类型 0营业执照，1法人身份证，2开户许可证，3商标注册证书，4续展证明文件，5ISO认证书，6品牌授权书")
    private Integer type;
    @ApiModelProperty(value = "审核类型 0注册，1开店，2资质变更，3新增品牌，4新增类目")
    private Integer auditType;
    @ApiModelProperty(value = "审核状态 0审核中，1审核通过，2审核打回，3审核不通过")
    private Integer status;
    @ApiModelProperty(value = "审核意见")
    private String content;
}